package com.briup.day11.interfaceBean;

public abstract class Animal {
    private  String color;
    private int age;

    public Animal() {
    }

    public Animal(String color, int age) {
        this.color = color;
        this.age = age;
    }
    public abstract void eat();
    public abstract void sleep();

}
